/*
 io.h
 Matthew Jee
 mcjee@ucsc.edu
*/

#ifndef Dynamical_io_h
#define Dynamical_io_h

#include <vector>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include "types.h"
#include "../renderer/mesh.h"


// Just add dimensionality to traclus output to load with this function
std::vector<mj::Path> readTraclusPaths(std::istream &stream);
std::vector<mj::Cluster> readClusters(std::istream &stream);

void writeClusters(std::ostream &stream, std::vector<mj::Cluster> clusters);

#endif
